Template:Infobox sports competition event/sandbox
This template page or section is in a state of significant expansion or restructuring. You are welcome to assist in its construction by editing it as well. If this template page has not been edited in several days, please remove this template. If you are the editor who added this template and you are actively editing, please be sure to replace this template with {{in use}} during the active editing session. Click on the link for template parameters to use.
This template was last edited by A smart kitten (talk | contribs) 13 months ago. (Update timer) |
This is the template sandbox page for Template:Infobox sports competition event (diff). See also the companion subpage for test cases. |
This template is used on approximately 21,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template uses Lua: |
The purpose of this template is to provide an infobox summary for articles on specific events of a championship or games, for example Athletics at the 2012 Summer Olympics – Men's 100 metres. This template is designed for usage on any grouping of articles which describe individual competitions within a broader sports event.
Usage
[edit]Without image_size | |
---|---|
[[File:{{{image}}}|frameless|alt={{{alt}}}]] |
{{Infobox sports competition event
| event =
| competition =
| image =
| alt =
| caption =
| venue =
| location =
| dates =
| competitors =
| nations =
| teams =
| win_value =
| gold =
| silver =
| bronze =
| gold_nation =
| silver_nation =
| bronze_nation =
| previous =
| next =
}}
Complete syntax
[edit]{{Infobox sports competition event
| event = <!--or: name-->
| competition = <!--or: championship, games-->
| governing_body = <!--IOC, PASO, CGF, SEAGF-->
| year = <!--or: IWGA year, PASO year, CGF year, SEAGF year -->
| type =
| image =
| image_size = <!--or: imagesize, size-->
| alt =
| caption =
| venue = <!--or: venues-->
| location =
| date = <!--or: dates, start_date, end_date-->
| competitors =
| nations =
| teams =
| win_label = <!--default: Winning time-->
| win_value = <!--or: win_time, win_score-->
| prize_money =
| website =
| longnames =
| gold =
| gold_nation = <!--or: goldNOC-->
| gold2 =
| gold2_nation = <!--or: goldNOC2-->
| gold3 =
| gold3_nation = <!--or: goldNOC3-->
| silver =
| silver_nation = <!--or: silverNOC-->
| silver2 =
| silver2_nation = <!--or: silverNOC2-->
| silver3 =
| silver3_nation = <!--or: silverNOC3-->
| bronze =
| bronze_nation = <!--or: bronzeNOC-->
| bronze2 =
| bronze2_nation = <!--or: bronzeNOC2-->
| bronze3 =
| bronze3_nation = <!--or: bronzeNOC3-->
| champion = <!--or: champions-->
| men =
| men_win_value =
| women =
| women_win_value =
| team =
| team_win_value =
| wheelchair_men = <!-- for marathons and road races etc.-->
| wheelchair_men_win_value =
| wheelchair_women =
| wheelchair_women_win_value =
| previous = <!--or: prev-->
| next =
}}
Parameters
[edit]- event
- Name of the event. For infobox title, this can be used alone or in conjunction with "competition", "championship", or "games".
- name
- (see above)
- competition
- Name of the competition. For infobox title, this can be used alone or in conjunction with "event".
- championship
- Name of the championship. For infobox title, this can be used alone or in conjunction with "event".
- games
- Name of the games. For infobox title, this can be used alone or in conjunction with "event" or "governing body".
- governing_body
- One of the following: IOC (Olympic Games), PASO (Pan American Games), CGF (Commonwealth Games), or SEAGF (Southeast Asian Games). Use in conjunction with "year", and optionally for IOC only: "type" or "games" (see examples below).
- year
- Used with "governing_body", such as "governing_body=IOC" with "year=2012", or "governing_body=PASO" with "year=2015".
- type
- Used with "governing_body=IOC" for years with multiple Olympics, such as 1988 which needs "type=Summer" or "type=Winter".
- image
- An image filename
- alt
- Alt text for the image
- caption
- Displays under the image
- venue
- venues
- Either is required
- location
- City and country
- date
- dates
- Date(s) of the competition. Use {{Ubl}} if not contiguous
- competitors
- Total number of competitors for individual events
- nations
- Total number of unique nations represented in this event
- teams
- Number of teams in the tournament for team sports
- win_label
- Use
win_label = Winning score
to change the label from Winning time to Winning score, for example - win_value
- Winning time or score
- gold
- gold2
- gold3
- silver
- silver2
- silver3
- bronze
- bronze2
- bronze3
- Athlete name or team name. Use
gold = {{flag IOC team|CHN|2008 Summer}}
(for example) for a team name, instead of numerating a full list of athletes. - gold_nation
- gold2_nation
- gold3_nation
- silver_nation
- silver2_nation
- silver3_nation
- bronze_nation
- bronze2_nation
- bronze3_nation
- An optional country code for the medal winner. Do not specify this if the
gold
parameter specifies a team name instead of an individual name. - champion
- champions
- men
- women
- wheelchair_men
- wheelchair_women
- optional parameters to add the names of the winning participants
- men_win_value
- women_win_value
- wheelchair_men_win_value
- wheelchair_women_win_value
- optional parameters to add the winning performance (e.g. time, mark, score) of the winning participants
- previous
- Link to article on the same event/sport from the previous edition of the games
- next
- Link to article on the same event/sport from the following edition of the games
Examples
[edit]Olympics, individual event
[edit]Men's 400 metre individual medley at the Games of the XXIX Olympiad | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
Venue | Beijing National Aquatics Center | |||||||||
Dates |
| |||||||||
Competitors | 29 from 22 nations | |||||||||
Medalists | ||||||||||
|
{{Infobox sports competition event
| event = Men's 400 metre individual medley
| governing_body = IOC
| year = 2008
| type = Summer
| image = Michael Phelps Ryan Lochte Laszlo Cseh medals 2008 Olympics.jpg
| image_size = 240
| caption = Medal winners
| venue = [[Beijing National Aquatics Center]]
| dates = {{Ubl|August 9 (heats)|August 10 (final)}}
| competitors = 29
| nations = 22
| gold = [[Michael Phelps]]
| gold_nation = USA
| silver = [[László Cseh]]
| silver_nation = HUN
| bronze = [[Ryan Lochte]]
| bronze_nation = USA
}}
Olympics, team event
[edit]Women's 4×100 metre medley relay at the Games of the XXIV Olympiad | |||||||
---|---|---|---|---|---|---|---|
Venue | Beijing National Aquatics Center | ||||||
Medalists | |||||||
|
{{Infobox sports competition event
| event = Women's 4×100 metre medley relay
| governing_body = IOC
| games = 1988 Summer
| venue = [[Beijing National Aquatics Center]]
| gold = {{flag IOC|GDR|1988 Summer}}
| silver = {{flag IOC|USA|1988 Summer}}
| bronze = {{flag IOC|CAN|1988 Summer}}
}}
World Championships, individual event
[edit]Men's 400 metre freestyle at the 2007 FINA World Championships | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
Venue | Rod Laver Arena | |||||||||
Date | 25 March 2007 | |||||||||
Competitors | 79 | |||||||||
Winning time | 3 minutes 44.30 seconds | |||||||||
Medalists | ||||||||||
| ||||||||||
{{Infobox sports competition event
| event = Men's 400 metre freestyle
| competition = 2007 FINA World Championships
| venue = [[Rod Laver Arena]]
| date = 25 March 2007
| competitors = 79
| nations =
| win_value = 3 minutes 44.30 seconds
| gold = [[Park Tae-Hwan]]
| goldNOC = KOR
| silver = [[Grant Hackett]]
| silverNOC = AUS
| bronze = [[Yury Prilukov]]
| bronzeNOC = RUS
| prev = [[Swimming at the 2005 World Aquatics Championships – Men's 400 metre freestyle|2005]]
| next = [[Swimming at the 2009 World Aquatics Championships – Men's 400 metre freestyle|2009]]
}}
Pacific Games, team event
[edit]Rugby sevens – Women's tournament at the 2015 Pacific Games | |||||||
---|---|---|---|---|---|---|---|
Venue | Sir John Guise Stadium | ||||||
Location | Port Moresby, Papua New Guinea | ||||||
Dates | 8–10 July 2015 | ||||||
Nations | 7 | ||||||
Medalists | |||||||
| |||||||
{{Infobox sports competition event
| event = Rugby sevens – Women's tournament
| games = 2015 Pacific Games
| image = [[File:Rugby union pictogram.svg|70px]]
| venue = [[Sir John Guise Stadium]]
| location = [[Port Moresby]], Papua New Guinea
| dates = 8–10 July 2015
| nations = 7
| gold = {{ru7w|FIJ}}
| silver = {{ru7w|AUS}}
| bronze = {{ru7w|PNG}}
| previous = [[Rugby sevens at the 2011 Pacific Games – Women's tournament|2011]]
| next = <!--[[Rugby sevens at the 2019 Pacific Games – Women's tournament|2019]]-->
}}
Using competition without event
[edit]World Yo-Yo Contest | |
---|---|
Location | Cleveland, Ohio, United States |
Dates | August 4–7, 2016 |
{{Infobox sports competition event
| competition = World Yo-Yo Contest
| location = [[Cleveland]], Ohio, United States
| dates = August 4–7, 2016
}}
Subtemplates
[edit]Tracking category
[edit]TemplateData
[edit]TemplateData for Infobox sports competition event
Infobox for specific sports events at a larger championship or games
Parameter | Description | Type | Status | |
---|---|---|---|---|
Event | event name | Name of the event.
| Content | required |
Governing body | governing_body | The organization that governs this event, or events like it.
| Content | optional |
competition | competition | no description | Unknown | optional |
games | games | no description | Unknown | optional |
championship | championship | no description | Unknown | optional |
year | year | no description | Unknown | optional |
type | type | no description | Unknown | optional |
Image | image | An image of this event, if available.
| File | optional |
Image size | image_size imagesize size | Size of the image of the event
| String | optional |
upright | upright | no description | Unknown | optional |
Alt text | alt | Alt text for the image of the event
| String | optional |
Caption | caption | Caption for the image of the event
| Unknown | optional |
Venue(s) | venue venues | Where the event took place
| Unknown | suggested |
Location | location | Location of the event
| Unknown | suggested |
Date(s) | date dates | The date(s) when the event happened
| String | suggested |
Start date | start_date date_start | When the event started
| Unknown | optional |
End date | end_date date_end | When the event ended.
| String | optional |
No. competitors | competitors | How many competitors there were at this event
| Number | suggested |
No. nations | nations | How many countries or nations participated at this event
| Number | suggested |
No. teams | teams | Number of teams in the tournament for team sports
| Number | optional |
Win type | win_label | The type of win statistic. Defaults to "Winning time" if the win score parameter is provided.
| String | optional |
Win value | win_value win_score win_time | A score of some sort for the winner, such as a winning score or winning time
| String | optional |
Prize money | prize_money | How much money was given away as prize money for this event
| Content | optional |
Website | website | The official website of the event, if known.
| Content | optional |
Previous event | previous prev | Name of the previous event; link if available
| Content | suggested |
Next event | next | Name of the next event; link if available
| Content | suggested |
gold_name | gold_name | no description | Unknown | optional |
gold | gold | no description | Unknown | optional |
silver | silver | no description | Unknown | optional |
bronze | bronze | no description | Unknown | optional |
gold_nation | gold_nation | no description | Unknown | optional |
goldNOC | goldNOC | no description | Unknown | optional |
gold_variant | gold_variant | no description | Unknown | optional |
longnames | longnames | no description | Unknown | optional |
gold2 | gold2 | no description | Unknown | optional |
gold2_nation | gold2_nation | no description | Unknown | optional |
goldNOC2 | goldNOC2 | no description | Unknown | optional |
gold2_variant | gold2_variant | no description | Unknown | optional |
gold2_name | gold2_name | no description | Unknown | optional |
gold3 | gold3 | no description | Unknown | optional |
gold3_nation | gold3_nation | no description | Unknown | optional |
goldNOC3 | goldNOC3 | no description | Unknown | optional |
gold3_variant | gold3_variant | no description | Unknown | optional |
gold3_name | gold3_name | no description | Unknown | optional |
silver_nation | silver_nation | no description | Unknown | optional |
silverNOC | silverNOC | no description | Unknown | optional |
silver_variant | silver_variant | no description | Unknown | optional |
silver_name | silver_name | no description | Unknown | optional |
silver2 | silver2 | no description | Unknown | optional |
silver2_nation | silver2_nation | no description | Unknown | optional |
silverNOC2 | silverNOC2 | no description | Unknown | optional |
silver2_variant | silver2_variant | no description | Unknown | optional |
silver2_name | silver2_name | no description | Unknown | optional |
silver3 | silver3 | no description | Unknown | optional |
silver3_nation | silver3_nation | no description | Unknown | optional |
silverNOC3 | silverNOC3 | no description | Unknown | optional |
silver3_variant | silver3_variant | no description | Unknown | optional |
silver3_name | silver3_name | no description | Unknown | optional |
bronze_nation | bronze_nation | no description | Unknown | optional |
bronzeNOC | bronzeNOC | no description | Unknown | optional |
bronze_variant | bronze_variant | no description | Unknown | optional |
bronze_name | bronze_name | no description | Unknown | optional |
bronze2 | bronze2 | no description | Unknown | optional |
bronze2_nation | bronze2_nation | no description | Unknown | optional |
bronzeNOC2 | bronzeNOC2 | no description | Unknown | optional |
bronze2_variant | bronze2_variant | no description | Unknown | optional |
bronze2_name | bronze2_name | no description | Unknown | optional |
bronze3 | bronze3 | no description | Unknown | optional |
bronze3_nation | bronze3_nation | no description | Unknown | optional |
bronzeNOC3 | bronzeNOC3 | no description | Unknown | optional |
bronze3_variant | bronze3_variant | no description | Unknown | optional |
bronze3_name | bronze3_name | no description | Unknown | optional |
men | men | no description | Unknown | optional |
women | women | no description | Unknown | optional |
team | team | no description | Unknown | optional |
champions | champions | no description | Unknown | optional |
champion | champion | no description | Unknown | optional |
men_win_value | men_win_value | no description | Unknown | optional |
women_win_value | women_win_value | no description | Unknown | optional |
team_win_value | team_win_value | no description | Unknown | optional |
wheelchair_men | wheelchair_men | no description | Unknown | optional |
wheelchair_men_win_value | wheelchair_men_win_value | no description | Unknown | optional |
wheelchair_women | wheelchair_women | no description | Unknown | optional |
wheelchair_women_win_value | wheelchair_women_win_value | no description | Unknown | optional |
See also
[edit]Supporting templates
Similar templates